package nsu.edu.zsq.param;

import java.util.ArrayList;
import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

/** 
* Description: 封装学校院系的tree数据(用于构建layui tree数据)<br>
*/
@Setter
@Getter
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class SchOrgParam {
    
    /**
     * 院系id
     */
    private Integer id;

    /**
     * 院系名称 org_name
     */
    private String name;
    
    /**
     * 父级院系id parent_org_id
     */
    private Integer parentOrgId;
    
    /**
     * 子院系
     */
    private List<SchOrgParam> children = new ArrayList<SchOrgParam>();

}
